<template>
  <a-table :columns="columns" :data-source="dataSource" :border='border'>
    <a slot="name" slot-scope="text">{{ text }}</a>
    <span slot="customTitle"> Name</span>
    <span slot="operation" >
       <a href="javascript:;">编辑</a>

    </span>
  </a-table>
</template>
<script>
export default {
    props:{
    dataSource: {
      type: Array,
      default: () => []
    },
    border: {
      type: Boolean,
      default: true
    },
    columns: {
      type: Array,
      default: () => []
    },
    },
  data() {
    return {
    };
  },
};
</script>